<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<title>Member</title>
<script type="text/javascript">
function veristate() {
	var spanList = document.getElementById("member_table")
			.getElementsByClassName("state");
	for ( var i = 0; i < spanList.length; i++) {
		if (spanList[i].innerText == '1') {
			spanList[i].innerText = '正常';
		} else {
			spanList[i].innerText = '禁用';
			spanList[i].style.color = "#ff0000";
		}
			
	}
}
</script>
</head>
<body onload="veristate()">
<div id="right_font"><img src="../Public/images/main/main_14.gif"
	alt="" /> 您现在所在的位置：<a href="__GROUP__/Index/main">首页</a> → 会员资料  → <span
	class="bfont">{$navi}</span></div>
<div id="info_main">
<div id="info_main_img"><img
	src="../Public/images/main/main_14.gif" alt="" /><span
	class="adminfont">&nbsp;&nbsp;{$title}</span></div>

<div id="member_table">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr align="center" bgcolor="#CCCCCC" height="20">
		<th width="80">注册编号</th>
		<th width="120">用户名</th>
		<th width="100">姓名</th>
		<th width="80">性别</th>
		<th width="80">年龄</th>
		<th width="80">照片</th>
		<th width="100">会员类型</th>
		<th width="80" >会员状态</th>
		<th width="150">上次登录时间</th>
		<th width="100">操作</th>
	</tr>
	<volist name="list" id="vo">  
	<tr align="center" onMouseMove="this.bgColor='#e1e1e1'"
		onMouseOut="this.bgColor='#f7f7f7'" bgcolor="#f7f7f7">
		<td height="25">{$vo.userId}</td>
		<td align="center"><a href="__GROUP__/MemberInfo/info/id/{$vo.userId}"><span
			style='color: #ff0000'>{$vo.username}</span></a></td>
		<td align="center">{$vo.truename}</td>
		<td align="center">{$vo.gender_cn}</td>
		<td align="center">{$vo.age}</td>
		<td align="center"><a href="">-</a> <span class="text_money_1"></span></td>
		<td align="center">{$vo.userType_cn}</td>
		<td><span class="state">{$vo.state}</span></td>
		<td>{$vo.lastLgTime}</td>
		<td>[<a href="__GROUP__/MemberInfo/info/id/{$vo.userId}">查看</a>][<a
			href="__GROUP__/Member/delete/id/{$vo.userId}"
			onClick="return confirm('你确定要删除该记录吗?');">删除</a>]</td>
	</tr>
	</volist>
</table>
</div>
<div id="member_page">{$page}</div>
</div>
</body>
</html>